package com.kele.goods.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kele.model.goods.Category;
import com.kele.model.goods.dto.CategoryDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    public List<CategoryDTO> findCategoryDTO();

    public void deleteByIdCascade(Long id);
}
